Option Strict On
Option Explicit On 

Public Class Password
    Inherits System.Windows.Forms.Form

#Region " Windows Form Designer generated code "

    Public Sub New()
        MyBase.New()

        'This call is required by the Windows Form Designer.
        InitializeComponent()

        'Add any initialization after the InitializeComponent() call

    End Sub

    'Form overrides dispose to clean up the component list.
    Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
        If disposing Then
            If Not (components Is Nothing) Then
                components.Dispose()
            End If
        End If
        MyBase.Dispose(disposing)
    End Sub

    'Required by the Windows Form Designer
    Private components As System.ComponentModel.IContainer

    'NOTE: The following procedure is required by the Windows Form Designer
    'It can be modified using the Windows Form Designer.  
    'Do not modify it using the code editor.
    Friend WithEvents btnCancel As System.Windows.Forms.Button
    Friend WithEvents btnOk As System.Windows.Forms.Button
    Friend WithEvents txtNewPassword As System.Windows.Forms.TextBox
    Friend WithEvents lblNewPassword As System.Windows.Forms.Label
    Friend WithEvents txtOldPassword As System.Windows.Forms.TextBox
    Friend WithEvents lblOldPassword As System.Windows.Forms.Label
    Friend WithEvents txtConfirmPassword As System.Windows.Forms.TextBox
    Friend WithEvents lblConfirmPassword As System.Windows.Forms.Label
    Public WithEvents _Line1_1 As System.Windows.Forms.Label
    Public WithEvents _Line1_0 As System.Windows.Forms.Label
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(Password))
        Me.txtNewPassword = New System.Windows.Forms.TextBox
        Me.lblNewPassword = New System.Windows.Forms.Label
        Me.txtOldPassword = New System.Windows.Forms.TextBox
        Me.lblOldPassword = New System.Windows.Forms.Label
        Me.btnCancel = New System.Windows.Forms.Button
        Me.btnOk = New System.Windows.Forms.Button
        Me.txtConfirmPassword = New System.Windows.Forms.TextBox
        Me.lblConfirmPassword = New System.Windows.Forms.Label
        Me._Line1_1 = New System.Windows.Forms.Label
        Me._Line1_0 = New System.Windows.Forms.Label
        Me.SuspendLayout()
        '
        'txtNewPassword
        '
        Me.txtNewPassword.AccessibleDescription = resources.GetString("txtNewPassword.AccessibleDescription")
        Me.txtNewPassword.AccessibleName = resources.GetString("txtNewPassword.AccessibleName")
        Me.txtNewPassword.Anchor = CType(resources.GetObject("txtNewPassword.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.txtNewPassword.AutoSize = CType(resources.GetObject("txtNewPassword.AutoSize"), Boolean)
        Me.txtNewPassword.BackgroundImage = CType(resources.GetObject("txtNewPassword.BackgroundImage"), System.Drawing.Image)
        Me.txtNewPassword.Dock = CType(resources.GetObject("txtNewPassword.Dock"), System.Windows.Forms.DockStyle)
        Me.txtNewPassword.Enabled = CType(resources.GetObject("txtNewPassword.Enabled"), Boolean)
        Me.txtNewPassword.Font = CType(resources.GetObject("txtNewPassword.Font"), System.Drawing.Font)
        Me.txtNewPassword.ImeMode = CType(resources.GetObject("txtNewPassword.ImeMode"), System.Windows.Forms.ImeMode)
        Me.txtNewPassword.Location = CType(resources.GetObject("txtNewPassword.Location"), System.Drawing.Point)
        Me.txtNewPassword.MaxLength = CType(resources.GetObject("txtNewPassword.MaxLength"), Integer)
        Me.txtNewPassword.Multiline = CType(resources.GetObject("txtNewPassword.Multiline"), Boolean)
        Me.txtNewPassword.Name = "txtNewPassword"
        Me.txtNewPassword.PasswordChar = CType(resources.GetObject("txtNewPassword.PasswordChar"), Char)
        Me.txtNewPassword.RightToLeft = CType(resources.GetObject("txtNewPassword.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.txtNewPassword.ScrollBars = CType(resources.GetObject("txtNewPassword.ScrollBars"), System.Windows.Forms.ScrollBars)
        Me.txtNewPassword.Size = CType(resources.GetObject("txtNewPassword.Size"), System.Drawing.Size)
        Me.txtNewPassword.TabIndex = CType(resources.GetObject("txtNewPassword.TabIndex"), Integer)
        Me.txtNewPassword.Text = resources.GetString("txtNewPassword.Text")
        Me.txtNewPassword.TextAlign = CType(resources.GetObject("txtNewPassword.TextAlign"), System.Windows.Forms.HorizontalAlignment)
        Me.txtNewPassword.Visible = CType(resources.GetObject("txtNewPassword.Visible"), Boolean)
        Me.txtNewPassword.WordWrap = CType(resources.GetObject("txtNewPassword.WordWrap"), Boolean)
        '
        'lblNewPassword
        '
        Me.lblNewPassword.AccessibleDescription = resources.GetString("lblNewPassword.AccessibleDescription")
        Me.lblNewPassword.AccessibleName = resources.GetString("lblNewPassword.AccessibleName")
        Me.lblNewPassword.Anchor = CType(resources.GetObject("lblNewPassword.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.lblNewPassword.AutoSize = CType(resources.GetObject("lblNewPassword.AutoSize"), Boolean)
        Me.lblNewPassword.Dock = CType(resources.GetObject("lblNewPassword.Dock"), System.Windows.Forms.DockStyle)
        Me.lblNewPassword.Enabled = CType(resources.GetObject("lblNewPassword.Enabled"), Boolean)
        Me.lblNewPassword.Font = CType(resources.GetObject("lblNewPassword.Font"), System.Drawing.Font)
        Me.lblNewPassword.Image = CType(resources.GetObject("lblNewPassword.Image"), System.Drawing.Image)
        Me.lblNewPassword.ImageAlign = CType(resources.GetObject("lblNewPassword.ImageAlign"), System.Drawing.ContentAlignment)
        Me.lblNewPassword.ImageIndex = CType(resources.GetObject("lblNewPassword.ImageIndex"), Integer)
        Me.lblNewPassword.ImeMode = CType(resources.GetObject("lblNewPassword.ImeMode"), System.Windows.Forms.ImeMode)
        Me.lblNewPassword.Location = CType(resources.GetObject("lblNewPassword.Location"), System.Drawing.Point)
        Me.lblNewPassword.Name = "lblNewPassword"
        Me.lblNewPassword.RightToLeft = CType(resources.GetObject("lblNewPassword.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.lblNewPassword.Size = CType(resources.GetObject("lblNewPassword.Size"), System.Drawing.Size)
        Me.lblNewPassword.TabIndex = CType(resources.GetObject("lblNewPassword.TabIndex"), Integer)
        Me.lblNewPassword.Text = resources.GetString("lblNewPassword.Text")
        Me.lblNewPassword.TextAlign = CType(resources.GetObject("lblNewPassword.TextAlign"), System.Drawing.ContentAlignment)
        Me.lblNewPassword.Visible = CType(resources.GetObject("lblNewPassword.Visible"), Boolean)
        '
        'txtOldPassword
        '
        Me.txtOldPassword.AccessibleDescription = resources.GetString("txtOldPassword.AccessibleDescription")
        Me.txtOldPassword.AccessibleName = resources.GetString("txtOldPassword.AccessibleName")
        Me.txtOldPassword.Anchor = CType(resources.GetObject("txtOldPassword.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.txtOldPassword.AutoSize = CType(resources.GetObject("txtOldPassword.AutoSize"), Boolean)
        Me.txtOldPassword.BackgroundImage = CType(resources.GetObject("txtOldPassword.BackgroundImage"), System.Drawing.Image)
        Me.txtOldPassword.Dock = CType(resources.GetObject("txtOldPassword.Dock"), System.Windows.Forms.DockStyle)
        Me.txtOldPassword.Enabled = CType(resources.GetObject("txtOldPassword.Enabled"), Boolean)
        Me.txtOldPassword.Font = CType(resources.GetObject("txtOldPassword.Font"), System.Drawing.Font)
        Me.txtOldPassword.ImeMode = CType(resources.GetObject("txtOldPassword.ImeMode"), System.Windows.Forms.ImeMode)
        Me.txtOldPassword.Location = CType(resources.GetObject("txtOldPassword.Location"), System.Drawing.Point)
        Me.txtOldPassword.MaxLength = CType(resources.GetObject("txtOldPassword.MaxLength"), Integer)
        Me.txtOldPassword.Multiline = CType(resources.GetObject("txtOldPassword.Multiline"), Boolean)
        Me.txtOldPassword.Name = "txtOldPassword"
        Me.txtOldPassword.PasswordChar = CType(resources.GetObject("txtOldPassword.PasswordChar"), Char)
        Me.txtOldPassword.RightToLeft = CType(resources.GetObject("txtOldPassword.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.txtOldPassword.ScrollBars = CType(resources.GetObject("txtOldPassword.ScrollBars"), System.Windows.Forms.ScrollBars)
        Me.txtOldPassword.Size = CType(resources.GetObject("txtOldPassword.Size"), System.Drawing.Size)
        Me.txtOldPassword.TabIndex = CType(resources.GetObject("txtOldPassword.TabIndex"), Integer)
        Me.txtOldPassword.Text = resources.GetString("txtOldPassword.Text")
        Me.txtOldPassword.TextAlign = CType(resources.GetObject("txtOldPassword.TextAlign"), System.Windows.Forms.HorizontalAlignment)
        Me.txtOldPassword.Visible = CType(resources.GetObject("txtOldPassword.Visible"), Boolean)
        Me.txtOldPassword.WordWrap = CType(resources.GetObject("txtOldPassword.WordWrap"), Boolean)
        '
        'lblOldPassword
        '
        Me.lblOldPassword.AccessibleDescription = resources.GetString("lblOldPassword.AccessibleDescription")
        Me.lblOldPassword.AccessibleName = resources.GetString("lblOldPassword.AccessibleName")
        Me.lblOldPassword.Anchor = CType(resources.GetObject("lblOldPassword.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.lblOldPassword.AutoSize = CType(resources.GetObject("lblOldPassword.AutoSize"), Boolean)
        Me.lblOldPassword.Dock = CType(resources.GetObject("lblOldPassword.Dock"), System.Windows.Forms.DockStyle)
        Me.lblOldPassword.Enabled = CType(resources.GetObject("lblOldPassword.Enabled"), Boolean)
        Me.lblOldPassword.Font = CType(resources.GetObject("lblOldPassword.Font"), System.Drawing.Font)
        Me.lblOldPassword.Image = CType(resources.GetObject("lblOldPassword.Image"), System.Drawing.Image)
        Me.lblOldPassword.ImageAlign = CType(resources.GetObject("lblOldPassword.ImageAlign"), System.Drawing.ContentAlignment)
        Me.lblOldPassword.ImageIndex = CType(resources.GetObject("lblOldPassword.ImageIndex"), Integer)
        Me.lblOldPassword.ImeMode = CType(resources.GetObject("lblOldPassword.ImeMode"), System.Windows.Forms.ImeMode)
        Me.lblOldPassword.Location = CType(resources.GetObject("lblOldPassword.Location"), System.Drawing.Point)
        Me.lblOldPassword.Name = "lblOldPassword"
        Me.lblOldPassword.RightToLeft = CType(resources.GetObject("lblOldPassword.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.lblOldPassword.Size = CType(resources.GetObject("lblOldPassword.Size"), System.Drawing.Size)
        Me.lblOldPassword.TabIndex = CType(resources.GetObject("lblOldPassword.TabIndex"), Integer)
        Me.lblOldPassword.Text = resources.GetString("lblOldPassword.Text")
        Me.lblOldPassword.TextAlign = CType(resources.GetObject("lblOldPassword.TextAlign"), System.Drawing.ContentAlignment)
        Me.lblOldPassword.Visible = CType(resources.GetObject("lblOldPassword.Visible"), Boolean)
        '
        'btnCancel
        '
        Me.btnCancel.AccessibleDescription = resources.GetString("btnCancel.AccessibleDescription")
        Me.btnCancel.AccessibleName = resources.GetString("btnCancel.AccessibleName")
        Me.btnCancel.Anchor = CType(resources.GetObject("btnCancel.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.btnCancel.BackgroundImage = CType(resources.GetObject("btnCancel.BackgroundImage"), System.Drawing.Image)
        Me.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel
        Me.btnCancel.Dock = CType(resources.GetObject("btnCancel.Dock"), System.Windows.Forms.DockStyle)
        Me.btnCancel.Enabled = CType(resources.GetObject("btnCancel.Enabled"), Boolean)
        Me.btnCancel.FlatStyle = CType(resources.GetObject("btnCancel.FlatStyle"), System.Windows.Forms.FlatStyle)
        Me.btnCancel.Font = CType(resources.GetObject("btnCancel.Font"), System.Drawing.Font)
        Me.btnCancel.Image = CType(resources.GetObject("btnCancel.Image"), System.Drawing.Image)
        Me.btnCancel.ImageAlign = CType(resources.GetObject("btnCancel.ImageAlign"), System.Drawing.ContentAlignment)
        Me.btnCancel.ImageIndex = CType(resources.GetObject("btnCancel.ImageIndex"), Integer)
        Me.btnCancel.ImeMode = CType(resources.GetObject("btnCancel.ImeMode"), System.Windows.Forms.ImeMode)
        Me.btnCancel.Location = CType(resources.GetObject("btnCancel.Location"), System.Drawing.Point)
        Me.btnCancel.Name = "btnCancel"
        Me.btnCancel.RightToLeft = CType(resources.GetObject("btnCancel.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.btnCancel.Size = CType(resources.GetObject("btnCancel.Size"), System.Drawing.Size)
        Me.btnCancel.TabIndex = CType(resources.GetObject("btnCancel.TabIndex"), Integer)
        Me.btnCancel.Text = resources.GetString("btnCancel.Text")
        Me.btnCancel.TextAlign = CType(resources.GetObject("btnCancel.TextAlign"), System.Drawing.ContentAlignment)
        Me.btnCancel.Visible = CType(resources.GetObject("btnCancel.Visible"), Boolean)
        '
        'btnOk
        '
        Me.btnOk.AccessibleDescription = resources.GetString("btnOk.AccessibleDescription")
        Me.btnOk.AccessibleName = resources.GetString("btnOk.AccessibleName")
        Me.btnOk.Anchor = CType(resources.GetObject("btnOk.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.btnOk.BackgroundImage = CType(resources.GetObject("btnOk.BackgroundImage"), System.Drawing.Image)
        Me.btnOk.Dock = CType(resources.GetObject("btnOk.Dock"), System.Windows.Forms.DockStyle)
        Me.btnOk.Enabled = CType(resources.GetObject("btnOk.Enabled"), Boolean)
        Me.btnOk.FlatStyle = CType(resources.GetObject("btnOk.FlatStyle"), System.Windows.Forms.FlatStyle)
        Me.btnOk.Font = CType(resources.GetObject("btnOk.Font"), System.Drawing.Font)
        Me.btnOk.Image = CType(resources.GetObject("btnOk.Image"), System.Drawing.Image)
        Me.btnOk.ImageAlign = CType(resources.GetObject("btnOk.ImageAlign"), System.Drawing.ContentAlignment)
        Me.btnOk.ImageIndex = CType(resources.GetObject("btnOk.ImageIndex"), Integer)
        Me.btnOk.ImeMode = CType(resources.GetObject("btnOk.ImeMode"), System.Windows.Forms.ImeMode)
        Me.btnOk.Location = CType(resources.GetObject("btnOk.Location"), System.Drawing.Point)
        Me.btnOk.Name = "btnOk"
        Me.btnOk.RightToLeft = CType(resources.GetObject("btnOk.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.btnOk.Size = CType(resources.GetObject("btnOk.Size"), System.Drawing.Size)
        Me.btnOk.TabIndex = CType(resources.GetObject("btnOk.TabIndex"), Integer)
        Me.btnOk.Text = resources.GetString("btnOk.Text")
        Me.btnOk.TextAlign = CType(resources.GetObject("btnOk.TextAlign"), System.Drawing.ContentAlignment)
        Me.btnOk.Visible = CType(resources.GetObject("btnOk.Visible"), Boolean)
        '
        'txtConfirmPassword
        '
        Me.txtConfirmPassword.AccessibleDescription = resources.GetString("txtConfirmPassword.AccessibleDescription")
        Me.txtConfirmPassword.AccessibleName = resources.GetString("txtConfirmPassword.AccessibleName")
        Me.txtConfirmPassword.Anchor = CType(resources.GetObject("txtConfirmPassword.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.txtConfirmPassword.AutoSize = CType(resources.GetObject("txtConfirmPassword.AutoSize"), Boolean)
        Me.txtConfirmPassword.BackgroundImage = CType(resources.GetObject("txtConfirmPassword.BackgroundImage"), System.Drawing.Image)
        Me.txtConfirmPassword.Dock = CType(resources.GetObject("txtConfirmPassword.Dock"), System.Windows.Forms.DockStyle)
        Me.txtConfirmPassword.Enabled = CType(resources.GetObject("txtConfirmPassword.Enabled"), Boolean)
        Me.txtConfirmPassword.Font = CType(resources.GetObject("txtConfirmPassword.Font"), System.Drawing.Font)
        Me.txtConfirmPassword.ImeMode = CType(resources.GetObject("txtConfirmPassword.ImeMode"), System.Windows.Forms.ImeMode)
        Me.txtConfirmPassword.Location = CType(resources.GetObject("txtConfirmPassword.Location"), System.Drawing.Point)
        Me.txtConfirmPassword.MaxLength = CType(resources.GetObject("txtConfirmPassword.MaxLength"), Integer)
        Me.txtConfirmPassword.Multiline = CType(resources.GetObject("txtConfirmPassword.Multiline"), Boolean)
        Me.txtConfirmPassword.Name = "txtConfirmPassword"
        Me.txtConfirmPassword.PasswordChar = CType(resources.GetObject("txtConfirmPassword.PasswordChar"), Char)
        Me.txtConfirmPassword.RightToLeft = CType(resources.GetObject("txtConfirmPassword.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.txtConfirmPassword.ScrollBars = CType(resources.GetObject("txtConfirmPassword.ScrollBars"), System.Windows.Forms.ScrollBars)
        Me.txtConfirmPassword.Size = CType(resources.GetObject("txtConfirmPassword.Size"), System.Drawing.Size)
        Me.txtConfirmPassword.TabIndex = CType(resources.GetObject("txtConfirmPassword.TabIndex"), Integer)
        Me.txtConfirmPassword.Text = resources.GetString("txtConfirmPassword.Text")
        Me.txtConfirmPassword.TextAlign = CType(resources.GetObject("txtConfirmPassword.TextAlign"), System.Windows.Forms.HorizontalAlignment)
        Me.txtConfirmPassword.Visible = CType(resources.GetObject("txtConfirmPassword.Visible"), Boolean)
        Me.txtConfirmPassword.WordWrap = CType(resources.GetObject("txtConfirmPassword.WordWrap"), Boolean)
        '
        'lblConfirmPassword
        '
        Me.lblConfirmPassword.AccessibleDescription = resources.GetString("lblConfirmPassword.AccessibleDescription")
        Me.lblConfirmPassword.AccessibleName = resources.GetString("lblConfirmPassword.AccessibleName")
        Me.lblConfirmPassword.Anchor = CType(resources.GetObject("lblConfirmPassword.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.lblConfirmPassword.AutoSize = CType(resources.GetObject("lblConfirmPassword.AutoSize"), Boolean)
        Me.lblConfirmPassword.Dock = CType(resources.GetObject("lblConfirmPassword.Dock"), System.Windows.Forms.DockStyle)
        Me.lblConfirmPassword.Enabled = CType(resources.GetObject("lblConfirmPassword.Enabled"), Boolean)
        Me.lblConfirmPassword.Font = CType(resources.GetObject("lblConfirmPassword.Font"), System.Drawing.Font)
        Me.lblConfirmPassword.Image = CType(resources.GetObject("lblConfirmPassword.Image"), System.Drawing.Image)
        Me.lblConfirmPassword.ImageAlign = CType(resources.GetObject("lblConfirmPassword.ImageAlign"), System.Drawing.ContentAlignment)
        Me.lblConfirmPassword.ImageIndex = CType(resources.GetObject("lblConfirmPassword.ImageIndex"), Integer)
        Me.lblConfirmPassword.ImeMode = CType(resources.GetObject("lblConfirmPassword.ImeMode"), System.Windows.Forms.ImeMode)
        Me.lblConfirmPassword.Location = CType(resources.GetObject("lblConfirmPassword.Location"), System.Drawing.Point)
        Me.lblConfirmPassword.Name = "lblConfirmPassword"
        Me.lblConfirmPassword.RightToLeft = CType(resources.GetObject("lblConfirmPassword.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.lblConfirmPassword.Size = CType(resources.GetObject("lblConfirmPassword.Size"), System.Drawing.Size)
        Me.lblConfirmPassword.TabIndex = CType(resources.GetObject("lblConfirmPassword.TabIndex"), Integer)
        Me.lblConfirmPassword.Text = resources.GetString("lblConfirmPassword.Text")
        Me.lblConfirmPassword.TextAlign = CType(resources.GetObject("lblConfirmPassword.TextAlign"), System.Drawing.ContentAlignment)
        Me.lblConfirmPassword.Visible = CType(resources.GetObject("lblConfirmPassword.Visible"), Boolean)
        '
        '_Line1_1
        '
        Me._Line1_1.AccessibleDescription = resources.GetString("_Line1_1.AccessibleDescription")
        Me._Line1_1.AccessibleName = resources.GetString("_Line1_1.AccessibleName")
        Me._Line1_1.Anchor = CType(resources.GetObject("_Line1_1.Anchor"), System.Windows.Forms.AnchorStyles)
        Me._Line1_1.AutoSize = CType(resources.GetObject("_Line1_1.AutoSize"), Boolean)
        Me._Line1_1.BackColor = System.Drawing.Color.FromArgb(CType(128, Byte), CType(128, Byte), CType(128, Byte))
        Me._Line1_1.Dock = CType(resources.GetObject("_Line1_1.Dock"), System.Windows.Forms.DockStyle)
        Me._Line1_1.Enabled = CType(resources.GetObject("_Line1_1.Enabled"), Boolean)
        Me._Line1_1.Font = CType(resources.GetObject("_Line1_1.Font"), System.Drawing.Font)
        Me._Line1_1.Image = CType(resources.GetObject("_Line1_1.Image"), System.Drawing.Image)
        Me._Line1_1.ImageAlign = CType(resources.GetObject("_Line1_1.ImageAlign"), System.Drawing.ContentAlignment)
        Me._Line1_1.ImageIndex = CType(resources.GetObject("_Line1_1.ImageIndex"), Integer)
        Me._Line1_1.ImeMode = CType(resources.GetObject("_Line1_1.ImeMode"), System.Windows.Forms.ImeMode)
        Me._Line1_1.Location = CType(resources.GetObject("_Line1_1.Location"), System.Drawing.Point)
        Me._Line1_1.Name = "_Line1_1"
        Me._Line1_1.RightToLeft = CType(resources.GetObject("_Line1_1.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me._Line1_1.Size = CType(resources.GetObject("_Line1_1.Size"), System.Drawing.Size)
        Me._Line1_1.TabIndex = CType(resources.GetObject("_Line1_1.TabIndex"), Integer)
        Me._Line1_1.Text = resources.GetString("_Line1_1.Text")
        Me._Line1_1.TextAlign = CType(resources.GetObject("_Line1_1.TextAlign"), System.Drawing.ContentAlignment)
        Me._Line1_1.Visible = CType(resources.GetObject("_Line1_1.Visible"), Boolean)
        '
        '_Line1_0
        '
        Me._Line1_0.AccessibleDescription = resources.GetString("_Line1_0.AccessibleDescription")
        Me._Line1_0.AccessibleName = resources.GetString("_Line1_0.AccessibleName")
        Me._Line1_0.Anchor = CType(resources.GetObject("_Line1_0.Anchor"), System.Windows.Forms.AnchorStyles)
        Me._Line1_0.AutoSize = CType(resources.GetObject("_Line1_0.AutoSize"), Boolean)
        Me._Line1_0.BackColor = System.Drawing.Color.White
        Me._Line1_0.Dock = CType(resources.GetObject("_Line1_0.Dock"), System.Windows.Forms.DockStyle)
        Me._Line1_0.Enabled = CType(resources.GetObject("_Line1_0.Enabled"), Boolean)
        Me._Line1_0.Font = CType(resources.GetObject("_Line1_0.Font"), System.Drawing.Font)
        Me._Line1_0.Image = CType(resources.GetObject("_Line1_0.Image"), System.Drawing.Image)
        Me._Line1_0.ImageAlign = CType(resources.GetObject("_Line1_0.ImageAlign"), System.Drawing.ContentAlignment)
        Me._Line1_0.ImageIndex = CType(resources.GetObject("_Line1_0.ImageIndex"), Integer)
        Me._Line1_0.ImeMode = CType(resources.GetObject("_Line1_0.ImeMode"), System.Windows.Forms.ImeMode)
        Me._Line1_0.Location = CType(resources.GetObject("_Line1_0.Location"), System.Drawing.Point)
        Me._Line1_0.Name = "_Line1_0"
        Me._Line1_0.RightToLeft = CType(resources.GetObject("_Line1_0.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me._Line1_0.Size = CType(resources.GetObject("_Line1_0.Size"), System.Drawing.Size)
        Me._Line1_0.TabIndex = CType(resources.GetObject("_Line1_0.TabIndex"), Integer)
        Me._Line1_0.Text = resources.GetString("_Line1_0.Text")
        Me._Line1_0.TextAlign = CType(resources.GetObject("_Line1_0.TextAlign"), System.Drawing.ContentAlignment)
        Me._Line1_0.Visible = CType(resources.GetObject("_Line1_0.Visible"), Boolean)
        '
        'Password
        '
        Me.AcceptButton = Me.btnOk
        Me.AccessibleDescription = resources.GetString("$this.AccessibleDescription")
        Me.AccessibleName = resources.GetString("$this.AccessibleName")
        Me.AutoScaleBaseSize = CType(resources.GetObject("$this.AutoScaleBaseSize"), System.Drawing.Size)
        Me.AutoScroll = CType(resources.GetObject("$this.AutoScroll"), Boolean)
        Me.AutoScrollMargin = CType(resources.GetObject("$this.AutoScrollMargin"), System.Drawing.Size)
        Me.AutoScrollMinSize = CType(resources.GetObject("$this.AutoScrollMinSize"), System.Drawing.Size)
        Me.BackgroundImage = CType(resources.GetObject("$this.BackgroundImage"), System.Drawing.Image)
        Me.CancelButton = Me.btnCancel
        Me.ClientSize = CType(resources.GetObject("$this.ClientSize"), System.Drawing.Size)
        Me.Controls.Add(Me.txtConfirmPassword)
        Me.Controls.Add(Me.lblConfirmPassword)
        Me.Controls.Add(Me.txtNewPassword)
        Me.Controls.Add(Me.lblNewPassword)
        Me.Controls.Add(Me.txtOldPassword)
        Me.Controls.Add(Me.lblOldPassword)
        Me.Controls.Add(Me.btnCancel)
        Me.Controls.Add(Me.btnOk)
        Me.Controls.Add(Me._Line1_0)
        Me.Controls.Add(Me._Line1_1)
        Me.Enabled = CType(resources.GetObject("$this.Enabled"), Boolean)
        Me.Font = CType(resources.GetObject("$this.Font"), System.Drawing.Font)
        Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog
        Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
        Me.ImeMode = CType(resources.GetObject("$this.ImeMode"), System.Windows.Forms.ImeMode)
        Me.Location = CType(resources.GetObject("$this.Location"), System.Drawing.Point)
        Me.MaximizeBox = False
        Me.MaximumSize = CType(resources.GetObject("$this.MaximumSize"), System.Drawing.Size)
        Me.MinimizeBox = False
        Me.MinimumSize = CType(resources.GetObject("$this.MinimumSize"), System.Drawing.Size)
        Me.Name = "Password"
        Me.RightToLeft = CType(resources.GetObject("$this.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.ShowInTaskbar = False
        Me.StartPosition = CType(resources.GetObject("$this.StartPosition"), System.Windows.Forms.FormStartPosition)
        Me.Text = resources.GetString("$this.Text")
        Me.ResumeLayout(False)

    End Sub

#End Region

    Private mPassword As String

    Private Sub btnOk_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOk.Click
        If txtOldPassword.Enabled Then
            If txtOldPassword.Text = "" And txtNewPassword.Text = "" And txtConfirmPassword.Text = "" Then
                Me.DialogResult = DialogResult.Cancel
                Exit Sub
            End If
            If txtOldPassword.Text = mPassword Then
                If txtOldPassword.Text = txtNewPassword.Text And txtOldPassword.Text = txtConfirmPassword.Text Then
                    Me.DialogResult = DialogResult.Cancel
                    Exit Sub
                End If
            Else
                If txtOldPassword.Text = "" Then
                    MsgBox("Type the old password")
                Else
                    MsgBox("Old password is not correct")
                End If
                txtOldPassword.Select()
                Exit Sub
            End If
        End If
        If txtNewPassword.Text <> txtConfirmPassword.Text Then
            MsgBox("Confirm the new password")
            txtConfirmPassword.Select()
            Exit Sub
        End If
        mPassword = txtNewPassword.Text
        Me.DialogResult = DialogResult.OK
    End Sub

    Public Property Password() As String
        Get
            Return mPassword
        End Get
        Set(ByVal Value As String)
            mPassword = Value
        End Set
    End Property
    Public Sub New(ByVal own As Boolean, ByVal password As String)
        MyBase.New()
        InitializeComponent()

        Me.lblOldPassword.Enabled = own
        Me.txtOldPassword.Enabled = own
        mPassword = password
    End Sub
End Class
